package com.tinem.platform.service.message.config;

import cn.hutool.extra.mail.MailAccount;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * @author fengzhihao
 * @version v1
 * @program: platform
 * @className MailConfig
 * @description TODO
 * @site 
 * @company 
 * @create 2020-07-13 18:06
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "mail")
public class MailConfiguration {

    String master;

    Map<String,MailAccount> sendAccounts;

}
